package com.loie.xcx.service;

import com.loie.xcx.model.bo.ItemBO;
import com.loie.xcx.model.bo.PermissionBO;
import com.loie.xcx.model.dto.QuotationQueryDTO;

import java.util.List;

/**
 * @author zhl
 */
public interface ItemService {
    ItemBO getItemById(String itemId);

    ItemBO getItemNoAndClassItemNoByRecordId(String recordId);

    int updateItemByQrCode(String recordId, byte[] qrCode);

    ItemBO getItemByIdandPermissions(List<PermissionBO> permissionBOList, String itemNo);
    List<ItemBO> getItemByPermissionslist(List<PermissionBO> permissionBOList, QuotationQueryDTO quotationQueryDTO);
}
